<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /* 选中的content的亲儿子。content>p{} */
        /* .content>p{
        color:red;

    } */
        /* 选中content之后的所有P元素 */
        .content p {
            color: red;

        }
    </style>
</head>

<body>
    <div class="content">
        <p>hello yuanmou</p>
        <ul>
            <li>
                <p>hello yuanmou</p>
            </li>
            <li>
                <p>hello yuanmou</p>
            </li>
            <li>
                <p>hello yuanmou</p>
            </li>
            <li>
                <p>hello yuanmou</p>
            </li>
        </ul>
        <p>hello yuanmou</p>
    </div>
    <ul>
        <li>
            <p>hello yuanmou</p>
        </li>
        <li>
            <p>hello yuanmou</p>
        </li>
        <li>
            <p>hello yuanmou</p>
        </li>
        <li>
            <p>hello yuanmou</p>
        </li>
    </ul>
</body>

</html>